<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:template match="/Result">
		<div class="window">
			<xsl:attribute name="id">
				<xsl:value-of select="id" />
			</xsl:attribute>
			<xsl:attribute name="style">width: <xsl:value-of select="size/width" />%;height: <xsl:value-of select="size/height" />%;left: <xsl:value-of select="pos/x" />%;top: <xsl:value-of select="pos/y" />%;</xsl:attribute>
			<table class="window_head">
				<tr>
					<td class="window_title">
						<img>
							<xsl:attribute name="src">
								<xsl:value-of select="icon" />
							</xsl:attribute>
						</img>
						<xsl:value-of select="title" />
					</td>
					<td class="window_control">
						<a class="ui-icon ui-icon-closethick" href="#"></a>
						<a class="ui-icon ui-icon-plusthick" href="#"></a>
						<a class="ui-icon ui-icon-minusthick" href="#"></a>
					</td>
				</tr>
			</table>
			<div class="window_body"></div>
		</div>
	</xsl:template>
</xsl:stylesheet>